#ifndef TIMERHANDLESEQ_H
#define TIMERHANDLESEQ_H

#include <QObject>
#include "src/Utils/dbconnhelper.h"


//定时器 检测流水号
class TimerHandleSeq : public QObject
{
    Q_OBJECT
public:
    explicit TimerHandleSeq(QObject *parent = nullptr);
    ~TimerHandleSeq();

    void onTimeOuthandle();
private:
    DbConnHelper dbhelper;
    QSqlDatabase db;
    int LastSeq = 0;
signals:
    void OnSequenecChanged(int Seq);

};

#endif // TIMERHANDLESEQ_H
